package top.deepdesigner.service;

import top.deepdesigner.dto.ApproveAgencyDTO;
import top.deepdesigner.pojo.DtsUser;
import top.deepdesigner.vo.DayStatis;

import java.util.List;

/**
 * Start up <br/>
 * Created with IntelliJ IDEA. <br/>
 * Project Name: shop_manage <br/>
 * Author: duanruiqing <br/>
 * DateTime: 2022/9/20 星期二 19:49:41 <br/>
 */
public interface DtsUserService {

  Long getUserCount();

  List<DayStatis> getUserTotalAndCountByDate(Integer days);

  List<DtsUser> getUserList(Integer page, Integer limit, String sort, String order, String username, String mobile);

  DtsUser getUserById(Integer userId);

  List<DtsUser> getUserByName(String username);

  boolean approveAgency(ApproveAgencyDTO approveAgencyDTO);
}
